package com.demo.com.p_c_allwait_fix;


public class ThreadC extends Thread {

    private C c;


    public ThreadC(C c){
        super();
        this.c = c ;
    }
    @Override
    public void run() {
        while (true){
            c.getValue();
        }
    }


}
